Bind `shell-resync-dirs' to M-RET in *shell* buffers.
authorStephen Eglen <stephen@gnu.org>
Fri, 11 Jun 2010 13:28:41 +0000 (14:28 +0100)
committerStephen Eglen <stephen@gnu.org>
Fri, 11 Jun 2010 13:28:41 +0000 (14:28 +0100)
lisp/ChangeLog
lisp/shell.el

index c9abb8ee290d82b8fc03473d1be59a9edcb10ef8..120ec62df186830ccbd7b9cfd5fc77c56954eaf5 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-11  Stephen Eglen  <stephen@gnu.org>
+
+       * shell.el: Bind `shell-resync-dirs' to M-RET.
+
 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
 
        * notifications.el: Move file from lisp/net, because it is
index 4b93af48beaf527726bce4a5e6d363de2f20dda2..a35c14e2fa7ca729764e8ffd368b76c35ccb7fd2 100644 (file)
@@ -340,6 +340,7 @@ Thus, this does not include the shell's current directory.")
        (define-key shell-mode-map "\C-c\C-f" 'shell-forward-command)
        (define-key shell-mode-map "\C-c\C-b" 'shell-backward-command)
        (define-key shell-mode-map "\t" 'comint-dynamic-complete)
+       (define-key shell-mode-map (kbd "M-RET") 'shell-resync-dirs)
        (define-key shell-mode-map "\M-?"
         'comint-dynamic-list-filename-completions)
        (define-key shell-mode-map [menu-bar completion]